package com.huazhi.wzsnw.mapper;

import com.huazhi.wzsnw.model.EarlyWarning;
import org.apache.ibatis.annotations.Param;

import java.util.List;


public interface EarlyWarningMapper {
    int deleteByPrimaryKey(String tid);

    int insert(EarlyWarning record);

    int insertSelective(EarlyWarning record);

    EarlyWarning selectByPrimaryKey(String tid);

    int updateByPrimaryKeySelective(EarlyWarning record);

    int updateByPrimaryKey(EarlyWarning record);

    List<EarlyWarning> selectAll();

    String getAlertParam(@Param("name") String name);
}